* This Stata do file replicates the analysis presented in "Race, Trade, and teh Demise of Southern Support for Multilateralism, 1945-62."
* It should be run on the the 'fordham_wp2025.dta'.

* Models for Table 1
* 1. Exposiure to the international economy 
logit multilat cotton textapp, cluster(icpsr) nolog
est store econonly

* 2. Racial hierarchy
logit multilat time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog
est store raceonly

* 3. Combined model
logit multilat cotton textapp time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog
est store combined

* BIC statistics
est stat raceonly econonly combined


* Models for Table A1 in Appendix
* 1. Combined model from Table 1 (baseline)
logit multilat cotton textapp time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog

* 2. State fixed effects
logit multilat cotton textapp time black interactb ag interacta lynchings interactl i.state_icpsr, cluster(icpsr) nolog

* 3. Votes on UN excluded
logit multilat textapp cotton time black interactb ag interacta lynchings interactl if unvote==0, cluster(icpsr) nolog

* 4. Votes on trade excluded
logit multilat textapp cotton time black interactb ag interacta lynchings interactl if tradevote==0, cluster(icpsr) nolog


* Models for Table A2 in Appendix
* These models include all Congresses after the 79th
* 1. All members
logit multilat textapp cotton time black interactb ag interacta lynchings interactl if congress>79, cluster(icpsr) nolog

* 2. Members present in 1945
logit multilat textapp cotton time black interactb ag interacta lynchings interactl if pre45==1 & congress>79, cluster(icpsr) nolog

* 3. Members only after 1945
logit multilat textapp cotton time black interactb ag interacta lynchings interactl if pre45==0 & congress>79, cluster(icpsr) nolog


* Models for Table A3 in Appendix
* Model 1
logit multilat republican cotton textapp time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog

* Model 2
logit multilat nominate_dim1 cotton textapp time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog

* Model 3
logit multilat republican nominate_dim1 cotton textapp time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog


* Models for Table A4 in Appendix
* Model 1
logit multilat pre45 college agriculture if black~=. & congress>79, cluster(icpsr) nolog

* Model 2
logit multilat pre45 college agriculture republican nominate_dim1 if black~=. & congress>79, cluster(icpsr) nolog

* Model 3
logit multilat pre45 college agriculture republican nominate_dim1 cotton textapp time black interactb ag interacta lynchings interactl if congress>79, cluster(icpsr) nolog

* Model 4
logit multilat college agriculture republican nominate_dim1 cotton textapp time black interactb ag interacta lynchings interactl, cluster(icpsr) nolog




